Refactor workflow output redaction - #120
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 6 remain after this review. WalkthroughThe workflow redaction path now uses explicit configuration handling instead of reflection. It redacts interpolated values across nested workflow settings, preserves literal values, and avoids aliasing boolean pointers. Tests cover the updated behavior. ChangesWorkflow redaction
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to Workflow output redaction now uses explicit schema-aware copies, redacting interpolated values while preserving safe structure and literal values. No current merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
7b76577 to
8588489
Compare
8588489 to
db8c946
Compare
db8c946 to
24d78af
Compare
Replaces reflection-based cloning for structured workflow output with an explicit schema-aware copy.
Every string field is now reviewed at the redaction boundary, while provider config and sandbox environment maps continue to expose keys but never values.
Validation:
gofmtgit diff --checkactionlint .github/workflows/*.ymlbash -non test scriptsSummary by CodeRabbit